<% String path = request.getContextPath(); %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>修改学生信息</title>
    <link href="${pageContext.request.contextPath}/static/bootstrap460/css/bootstrap.css" rel="stylesheet">
</head>
<body>
<% String Stu_Key = request.getParameter("Stu_Key"); %>
<% String Stu_Name = request.getParameter("Stu_Name"); %>
<% String Stu_Sex = request.getParameter("Stu_Sex"); %>
<% String Stu_Enr = request.getParameter("Stu_Enr"); %>
<% String Stu_Birth = request.getParameter("Stu_Birth"); %>
<% String Stu_College = request.getParameter("Stu_College"); %>
<% String Stu_Major = request.getParameter("Stu_Major"); %>
<% String Stu_Polit = request.getParameter("Stu_Polit"); %>
<% String Stu_Address = request.getParameter("Stu_Address"); %>
<% String Stu_Tel = request.getParameter("Stu_Tel"); %>
<% String password = request.getParameter("password"); %>
<jsp:include page="../common/css_js.jsp"/>
<div class="container">
    <h3 class="mt-3 md-3">修改学生信息</h3>
    <form action="${pageContext.request.contextPath}/student/normal/stuUpdateSelf">
        <div class="form-group">
            <label>Stu_Key</label>:${Stu_Key}
            <input type="text" name="Stu_Key" id="Stu_Key" value="<%=Stu_Key%>" class="form-control" readonly="readonly"/><br>
        </div>
        <div class="form-group">
            <label>姓名</label>
            <input type="text" name="Stu_Name" id="Stu_Name" value="<%=Stu_Name%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>性别</label>
            <input type="text" name="Stu_Sex" id="Stu_Sex" value="<%=Stu_Sex%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>入学日期</label>
            <input type="text" name="Stu_Enr" id="Stu_Enr" value="<%=Stu_Enr%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>出生日期</label>
            <input type="text" name="Stu_Birth" id="Stu_Birth" value="<%=Stu_Birth%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>学院</label>
            <input type="text" name="Stu_College" id="Stu_College" value="<%=Stu_College%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>专业</label>
            <input type="text" name="Stu_Major" id="Stu_Major" value="<%=Stu_Major%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>政治面貌</label>
            <input type="text" name="Stu_Polit" id="Stu_Polit" value="<%=Stu_Polit%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>家庭住址</label>
            <input type="text" name="Stu_Address" id="Stu_Address" value="<%=Stu_Address%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>联系方式</label>
            <input type="text" name="Stu_Tel" id="Stu_Tel" value="<%=Stu_Tel%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>密码</label>
            <input type="text" name="password" id="password" value="<%=password%>" class="form-control"/><br>
        </div>
        <input class="btn btn-success" type="submit"><br><br>
        <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />
    </form>

</div>
<script>
    function backAndFresh(){
        var url =document.referrer;
        window.location=url;
    }
</script>
</body>
</html>
